package com.lagou.edu.service;

import com.lagou.edu.entity.User;

import java.util.Optional;

/**
 * @Author: yeqingyun
 * @Date: 2020/11/20 16:33
 */
public interface UserService {

    Optional<User> getByEmail(String email);

    void add(User user);
}
